home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaaffffuuuunnnnccccttttiiiioooonnnn((((3333GGGG)))) aaaaffffuuuunnnnccccttttiiiioooonnnn((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- aaaaffffuuuunnnnccccttttiiiioooonnnn - specify alpha test function
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- vvvvooooiiiidddd aaaaffffuuuunnnnccccttttiiiioooonnnn((((rrrreeeeffff,,,, ffffuuuunnnncccc))))
- lllloooonnnngggg rrrreeeeffff,,,, ffffuuuunnnncccc;;;;
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _r_e_f expects a reference value with which to compare source alpha at
- each pixel. This value should be in the range 0 through 255.
-
- _f_u_n_c is a symbolic constant taken from the list below. It identifies
- the alpha comparison function: AAAAFFFF____NNNNEEEEVVVVEEEERRRR, AAAAFFFF____LLLLEEEESSSSSSSS, AAAAFFFF____EEEEQQQQUUUUAAAALLLL,
- AAAAFFFF____LLLLEEEEQQQQUUUUAAAALLLL, AAAAFFFF____GGGGRRRREEEEAAAATTTTEEEERRRR, AAAAFFFF____NNNNOOOOTTTTEEEEQQQQUUUUAAAALLLL, AAAAFFFF____GGGGEEEEQQQQUUUUAAAALLLL, and AAAAFFFF____AAAALLLLWWWWAAAAYYYYSSSS.
- AAAAFFFF____AAAALLLLWWWWAAAAYYYYSSSS is the default.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- aaaaffffuuuunnnnccccttttiiiioooonnnn makes the drawing of pixels conditional on the relationship of
- the incoming alpha value with a reference constant value. It is
- typically used to avoid updating either the color or the z bitplanes of a
- framebuffer pixel when the incoming pixel is completely transparent.
- Arguments _r_e_f and _f_u_n_c specify the conditions under which the pixel will
- be drawn. The incoming (source) alpha value is compared against _r_e_f with
- function _f_u_n_c. This comparison function is specified with the symbolic
- constants:
-
- AAAAFFFF____NNNNEEEEVVVVEEEERRRR Never pass.
-
- AAAAFFFF____LLLLEEEESSSSSSSS Pass if alpha is less than _r_e_f.
-
- AAAAFFFF____EEEEQQQQUUUUAAAALLLL Pass if alpha is equal to _r_e_f.
-
- AAAAFFFF____LLLLEEEEQQQQUUUUAAAALLLL Pass if alpha is less than or equal to _r_e_f.
-
- AAAAFFFF____GGGGRRRREEEEAAAATTTTEEEERRRR Pass if alpha is greater than _r_e_f.
-
- AAAAFFFF____GGGGEEEEQQQQUUUUAAAALLLL Pass if alpha is greater than or equal to _r_e_f.
-
- AAAAFFFF____NNNNOOOOTTTTEEEEQQQQUUUUAAAALLLL Pass if alpha is not equal to _r_e_f.
-
- AAAAFFFF____AAAALLLLWWWWAAAAYYYYSSSS Always pass.
-
- If the comparison passes, the incoming pixel is drawn (conditional on
- subsequent other tests like z-buffer).
-
- aaaaffffuuuunnnnccccttttiiiioooonnnn can be called with arguments 0000,,,,AAAAFFFF____NNNNOOOOTTTTEEEEQQQQUUUUAAAALLLL to defeat drawing of
- completely transparent pixels. This assumes that incoming alpha is
- proportional to pixel coverage, as it is when either ppppooooiiiinnnnttttssssmmmmooooooootttthhhh or
- lllliiiinnnneeeessssmmmmooooooootttthhhh is being used.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaaffffuuuunnnnccccttttiiiioooonnnn((((3333GGGG)))) aaaaffffuuuunnnnccccttttiiiioooonnnn((((3333GGGG))))
-
-
-
- aaaaffffuuuunnnnccccttttiiiioooonnnn testing follows scan conversion and texture mapping but
- precedes all other pixel tests. Thus, if the test fails, color, zbuffer
- and stencil contents will not be modified.
-
- aaaaffffuuuunnnnccccttttiiiioooonnnn operates on all pixel writes, including those resulting from
- the scan conversion of points, lines, and polygons, and from pixel write
- and copy operations. aaaaffffuuuunnnnccccttttiiiioooonnnn does not affect screen clear operation,
- however.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- blendfunction
-
- NNNNOOOOTTTTEEEESSSS
- IRIS-4D G, GT, and GTX models, and the Personal Iris, do not support
- aaaaffffuuuunnnnccccttttiiiioooonnnn. Use ggggeeeettttggggddddeeeesssscccc to determine what support is available for
- aaaaffffuuuunnnnccccttttiiiioooonnnn.
-
- BBBBUUUUGGGGSSSS
- On IRIS-4D VGX, XS, XS24, XZ, Elan and Extreme models, aaaaffffuuuunnnnccccttttiiiioooonnnn cannot
- be enabled while sssstttteeeennnncccciiiillll is being used. Also on these models, only
- AAAAFFFF____NNNNOOOOTTTTEEEEQQQQUUUUAAAALLLL with _r_e_f equal to 0 and AAAAFFFF____AAAALLLLWWWWAAAAYYYYSSSS are supported.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-